package com.moweilin.mo_auth.controllers;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

import java.util.Date;

/**
 * Created by moweilin on 2017/3/22.
 */
@RestController
@RequestMapping(value = "/home")
public class HomeController {
    @RequestMapping(method= RequestMethod.GET)
    public String say(){
        return new Date().toString();
    }
}
